package com.wt.admin;


import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;
import springfox.documentation.swagger2.annotations.EnableSwagger2;


@SpringBootApplication
@EnableFeignClients //服务调用
@EnableScheduling //定时注解
//@EnableDiscoveryClient //nacos注册
@ComponentScan(basePackages = {"com.wt"})
@MapperScan("com.wt.admin.mapper")

public class AdminApplication {
    public static void main(String[] args) {
        SpringApplication.run(AdminApplication.class,args);
        System.out.println("\n\t(♥◠‿◠)ﾉﾞ  围群启动成功   ╮(◕Ѡ◕)╭  \n " +
                           "\t\t               ___    \n" +
                           "\t\t __        __  / \" \\   \n" +
                           "\t\t \\\"\\      /\"/ | |\"| |  \n" +
                           "\t\t /\\ \\ /\\ / /\\/| |_| |\\ \n" +
                           "\t\tU  \\ V  V /  U \\__\\_\\u \n" +
                           "\t\t.-,_\\ /\\ /_,-.  \\\\//   \n" +
                           "\t\t \\_)-'  '-(_/  (_(__)");
    }
}
